// app.js
import './utils/http';
App({
  onLaunch() {

  },

  globalData: {
    userInfo: null,
    //登录
    login: '/wx/login',
    //获取用户信息
    getInfo: '/getInfo',
    //上传头像
    uploadAvatar: '/common/upload',
    //更新头像昵称
    updateUserAvatar: '/system/user/updateUserAvatar',
    // 获取试题
    queryQuestion: "/publicExamPaper/getPaperInFo",
    // 打分
    calculationScore: "/examResult/correctExaminationPaper",
    // 考试结果
    getExamResultInfo: "/examResult/getExamResultInfo",
    //获取试卷列表
    getExamPaperList: "/publicExamPaper/queryAll",
    //获取待考试卷信息
    queryPaperInfo: "/waitPaper/queryPaperInfo",
    //生成待考试题试题信息
    savePreviewPaper: "/previewPaper/savePreviewPaper",
    //获取文章类别项目
    getIndexItem: "/system/dict/data/type",
    //获取文章列表
    getArticleList: "/article/xcx/list",
    //获取题目列表
    getInterviewList: "/qu/queryAll",
    //获取题目列表
    getQuBankList: "/quBank/queryAll",
    //获取文章详情
    getArticleDetail: "/article/admin/getInfo",
    //点赞
    addLike: "/article/xcx/addLike",
    //题目点赞
    addLikeQu: "/qu/addLike",
    //获取题目信息
    questionDetail: "/qu/queryQuInfo",
    //获取下一条
    getNextQu: "/qu/xcx/getNextQu",
    //留言
    leaveMessage: "/review/leaveMessage",
    //文件下载列表
    fileDowList: "/file/content/xcx/list",
    //获取文件详情
    getFileInfo: "/file/content/admin/getInfo",
    //获取文件下载地址
    getFilePath: "/file/content/xcx/dowFile",
    //积分记录
    queryIntegralRecord: '/integral/queryIntegralRecord',
    //文章 收藏记录
    queryCollectArticle: '/article/records/queryCollectArticle',
    //最新的题目
    queryNowAll: "/qu/xcx/queryNowAll",
    //最新文章
    xcxNowList: '/article/xcx/xcxNowList',
    //收藏的题目
    collectQuestion: '/user/collectQuestion',
    //最新文章
    xcxNowList: '/article/xcx/xcxNowList',
    //意见反馈
    addIdea: '/user/addIdea',
    //开源项目列表
    queryOpenProjectList: '/open/admin/queryOpenProjectList',
    //获取详情
    queryOpenProjectInfo: '/open/admin/queryOpenProjectInfo',
    //订单列表
    getOrderList: '/order/getOrderList',
    //订单详情
    getOrderInfo: '/order/getOrderInfo',
    //新增接单
    addOrder: '/order/addOrder',
    //订单评论
    orderLeaveMessage: '/order/leaveMessage',
    //获取消息通知
    getMessageNotification: '/system/config/configKey',
    //获取试卷结果
    queryExamResultList:'/examResult/queryExamResultList',
    //阅读总数
    getReadNum:'/qu/records/getReadNum',
    //获取所有语言总题数】
    getQuNum:'/qu/getQuNum'

  }


})
